#include "LinkList_kernel.h"

int main(){
    LinkList_t *head = NULL;
    LinkList_kernel_init(&head);
    // LOG("headinsert\n");
    // LinkList_kernel_headinsert(head,1);
    // LinkList_kernel_headinsert(head,2);
    // LinkList_kernel_headinsert(head,3);
    // LinkList_kernel_headinsert(head,4);
    // LinkList_kernel_select(head);
    LOG("tailinsert\n");
    LinkList_kernel_tailinsert(head,1);
    LinkList_kernel_tailinsert(head,2);
    LinkList_kernel_tailinsert(head,3);
    LinkList_kernel_tailinsert(head,4);
    LinkList_kernel_select(head);
    LOG("del index 2\n");
    LinkList_kernel_delitem(head,2);
    LinkList_kernel_select(head);
    LinkList_kernel_destory(head);
    LOG("destory\n");
    return 0;
}